package com.joysuch.wwyt.risk.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/4/12 10:39
 */
@Data
public class RiskDynamicConfigDto {

    @ApiModelProperty("动态安全风险评估ID")
    private Long id;

    @ApiModelProperty("业务流程id,流程业务才有")
    private Long processId;

    @ApiModelProperty("业务名称")
    private String businessName;

    @ApiModelProperty("组件名称,流程业务才有 如作业级别")
    private String optionTypeName;
    @ApiModelProperty("组件映射名称,流程业务才有:如 动火作业级别")
    private String optionTypeProxyName;

    @ApiModelProperty("参数id,流程业务才有")
    private Long optionParamId;

    @ApiModelProperty("参数名称")
    private String optionParamName;

    @ApiModelProperty("节点集合,流程业务才有")
    private List<String> nodeList;

    @ApiModelProperty("分数")
    private Double score;

    @ApiModelProperty("类别:0报警业务 1流程业务")
    private Integer type;

    @ApiModelProperty("0启用 1关闭")
    private Integer enableFlag;
}
